package net.entelijan.cobean.table;

import java.util.List;

/**
 * The table model should implement ISelectionProvider. Then you can use it in
 * the following way
 * 
 * ((ISelectionProvider)table.getModel()).getSelection();
 * 
 * to acces the selcted beans.
 * 
 * @param <T>
 *            The class of the beans that are displayed.
 */
interface ISelectionProvider<T> {

	public List<T> getSelection();

}
